package service.interf;

import dao.pojo.Member;

public interface IMember extends IBaseDataService {

	public String getHomeData(Long userId) throws Exception;

	public String getMobileCodeForChangeMobile(String mobile) throws Exception;

	public String getMobileCodeForRegister(String mobile) throws Exception;

	public String register(Member model, String mobileCode, String verifyCode,
			String password, String password2) throws Exception;

	public String getMobileCodeByUserName(String userName) throws Exception;

	public String forgetpwd(Member model, String mobileCode, String verifyCode,
			String password, String password2) throws Exception;

	public String changePwd(Long userId, String oldpwd, String password,
			String password2, String verifyCode) throws Exception;

	public String changeMobile(Long userId, String mobile, String mobileCode,
			String verifyCode) throws Exception;

}
